package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.dnzx.model.CartBO;

/**
* 订单
 */
@Repository
public interface ICartDao {

	public void save(CartBO cartBO);

	public void delete(Long id);

	public void update(CartBO cartBO);

	public CartBO get(Long id);
	
	public List<CartBO> queryList(CartBO cartBO);
	
	public List<CartBO> queryPage(@Param("pageSize") int pageSize, 
			@Param("startRow") int startRow, @Param("bo") CartBO bo);
	
	public int queryCount(CartBO cartBO);

}
